<?php

/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/8/19
 * Time: 16:10
 */
class copy复制文件
{

}
$old = 'C:\tmp\someold.txt';
$new = 'C:\tmp\somenew.txt';
copy($old,$new) or die("couldn't copy $old to $new");